package com.ganzalang.gmall.customannotation.controller;

import com.ganzalang.gmall.customannotation.annotation.ValidateToken;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: Ganzalang
 * @Date 2021/4/2 19:34
 */
@RestController
@Slf4j
public class TestController {

    @ValidateToken
    @GetMapping("/test")
    public void test() {
        log.info("controller");
    }
}
